package com.simple.service;

import java.util.List;

import com.simple.entity.SysRole;
import com.simple.entity.vo.SysRoleVo;

public interface SysRoleService {
    public SysRole findByRoleId(Integer id);

    public String findMenuByUserName(String username);

    public List<SysRole> findAll();

    public List<SysRoleVo> findAllRoles();

    public SysRole saveAndFlush(SysRole entity);

    public void deleteById(Integer id);
}
